package com.zq.zqfeign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(name="ZQSERVICE", fallback = HelloServiceFallback.class)
public interface ZqFeignService {

    @RequestMapping("/hello")
    String hello();
}